#ifndef FROMCHKNET_H
#define FROMCHKNET_H

#include <QWidget>
#include <jcode.h>
#include <QHostInfo>
#include <QNetworkReply>

QT_BEGIN_NAMESPACE
namespace Ui { class fromchknet; }
QT_END_NAMESPACE

class fromchknet : public QWidget
{
    Q_OBJECT

public:
    fromchknet(QWidget *parent = nullptr);
    ~fromchknet();
    QString protocolName(QAbstractSocket::NetworkLayerProtocol protocol);
private slots:
    void Start(); //初始化
    void setLED(QLabel* label, int color, int size);
    void on_cmdScanIP_clicked();
    void on_cmdScriptStart_clicked();
    void on_cmdCMD_clicked();
    void on_cmdUrl_clicked();

    void on_cmdSet_SaveScript_clicked();
    void on_cmdScriptInsLine_clicked();
    void on_cmdScriptDelLine_clicked();



    void on_cmdScripCopy_clicked();

private:
    Ui::fromchknet *ui;
};
#endif // FROMCHKNET_H
